package com.lizhenhua.orderclose.follback;

import com.lizhenhua.fmmall.beans.Orders;
import com.lizhenhua.orderclose.feiclient.UpdateOrderStatusFeignClient;
import org.springframework.stereotype.Component;

@Component
public class UpdateOrderStatusFollBack implements UpdateOrderStatusFeignClient {
    @Override
    public int update(Orders orders) {

        System.out.println("-----------执行了 order-status-update  的降级服务");

        return 0;
    }
}
